package com.lazar.module1.subject2

class User {
  var name = "Guest"
  var score = 0

  def showFist(int: Int): Int ={
      if (int==1){
         printf("你出拳：%s\n","剪刀")
         int
      }else if (int == 2){
        printf("你出拳：%s\n","石头")
        int
      }else if (int  == 3){
        printf("你出拳：%s\n","布")
        int
      }else{
        printf("输入不符合规范，默认出布\n")
        3
      }
  }

}
